import yaml

### DEFINE AUXILIARY FUNCTIONS
""" Opens a yaml file as a dictionary"""
def open_yaml(path):
    with open(path, 'r') as stream:
        dic = yaml.safe_load(stream)
    return dic
